import request from '@/utils/request'

export function updateAdminInfo(data) {
  return request({
    url: '/admin/updateDto',
    method: 'post',
    data
  })
}

export function updateAdminPwd(data) {
  return request({
    url: '/admin/updatePwd',
    method: 'post',
    data
  })
}

export function homeInfo() {
  return request({
    url: '/admin/home',
    method: 'get',
  })
}

export function orderDate(data) {
  return request({
    url: '/oms/bookOrder/date',
    method: 'post',
    data
  })
}




